import { ApiProperty } from "@nestjs/swagger";
import { BannerDto } from "../dto/banners-dto";

export class BannerResultVo {
    @ApiProperty({
        description:'id'
    })
    id: number;

    @ApiProperty({
        description:'广告标识'
    })
    identity: string;

    @ApiProperty({
        description:'广告名'
    })
    name: string;

    @ApiProperty({
        description:'描述'
    })
    desc: string;

    @ApiProperty({
        description:'广告'
    })
    banners: string|Array<BannerDto>;

    @ApiProperty({
        description:'状态'
    })
    status: number;

    @ApiProperty({
        description:'创建时间'
    })
    create_time: number;

    @ApiProperty({
        description:'修改时间'
    })
    update_time: number;   
}
